---@class BuffEffect47 : BaseBuffEffect
BuffEffect47 = ClientFight.CreateClass("BuffEffect47", ClientFight.BaseBuffEffect)
local t = BuffEffect47

---@param fight Fight
---@param buff FighterBuff
function t:action(fight, buff, ...)
    local effectType = buff.buffBean.f_BuffEffectValue[1];
    local target = buff.target
    local removeBuffs = BuffManager.getBuffsByEffect(target, effectType);
    for k, fighterBuff in pairs( removeBuffs) do
        BuffManager.removeFighterBuff(fight, target, fighterBuff, true);
        --fight.log("[EFFECT]Fighter{}, buffId:{}, 根据指定类型移除buff, 类型id:{}", targetfighterId, buffmodelId, effectType);
    end
    return ClientFight.BaseBuffEffect.action(self,fight, buff, ...);
end

t.New()